<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DesignPattern: FlyweightFactory Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="DesignPattern.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">DesignPattern
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="class_flyweight_factory-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">FlyweightFactory Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h_source.html">DESIGNPATTERN_FlyweightFactory.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for FlyweightFactory:</div>
<div class="dyncontent">
<div class="center"><img src="class_flyweight_factory__coll__graph.png" border="0" usemap="#_flyweight_factory_coll__map" alt="Collaboration graph"/></div>
<map name="_flyweight_factory_coll__map" id="_flyweight_factory_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,155,171"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4d4199aa5961c143612bb87bb09fae18"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flyweight_factory.html#a4d4199aa5961c143612bb87bb09fae18">~FlyweightFactory</a> ()</td></tr>
<tr class="separator:a4d4199aa5961c143612bb87bb09fae18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabb79a8ca9347a7fe1ba686c719bf5f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_flyweight.html">Flyweight</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flyweight_factory.html#aabb79a8ca9347a7fe1ba686c719bf5f0">CreateFlyweight</a> (const string &amp;key)</td></tr>
<tr class="separator:aabb79a8ca9347a7fe1ba686c719bf5f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a9a35d35682a006de74b7027c7818f135"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_flyweight_factory.html">FlyweightFactory</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flyweight_factory.html#a9a35d35682a006de74b7027c7818f135">Instance</a> ()</td></tr>
<tr class="separator:a9a35d35682a006de74b7027c7818f135"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e00f4d234d0089d2bb5f043c79be7d2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flyweight_factory.html#a5e00f4d234d0089d2bb5f043c79be7d2">Destroy</a> ()</td></tr>
<tr class="separator:a5e00f4d234d0089d2bb5f043c79be7d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a5cc51b52352f49c328c54a2937f53ae8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flyweight_factory.html#a5cc51b52352f49c328c54a2937f53ae8">FlyweightFactory</a> ()</td></tr>
<tr class="separator:a5cc51b52352f49c328c54a2937f53ae8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cf53e0344fc282583e04301386be9f2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flyweight_factory.html#a9cf53e0344fc282583e04301386be9f2">FlyweightFactory</a> (const <a class="el" href="class_flyweight_factory.html">FlyweightFactory</a> &amp;cFlyweightFactory)</td></tr>
<tr class="separator:a9cf53e0344fc282583e04301386be9f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bbaf710ee36dd20f266e2d80d17b07d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_flyweight_factory.html">FlyweightFactory</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flyweight_factory.html#a0bbaf710ee36dd20f266e2d80d17b07d">operator=</a> (const <a class="el" href="class_flyweight_factory.html">FlyweightFactory</a> &amp;cFlyweightFactory)</td></tr>
<tr class="separator:a0bbaf710ee36dd20f266e2d80d17b07d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ac9afef5cefd0757cf3bf2919288cff4f"><td class="memItemLeft" align="right" valign="top">list&lt; <a class="el" href="class_flyweight.html">Flyweight</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flyweight_factory.html#ac9afef5cefd0757cf3bf2919288cff4f">m_listFlyweight</a></td></tr>
<tr class="separator:ac9afef5cefd0757cf3bf2919288cff4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:a49d2997e5543ebca8647108fbe3efcb9"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_flyweight_factory.html">FlyweightFactory</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flyweight_factory.html#a49d2997e5543ebca8647108fbe3efcb9">m_pInstance</a> = NULL</td></tr>
<tr class="separator:a49d2997e5543ebca8647108fbe3efcb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h_source.html#l00016">16</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h_source.html">DESIGNPATTERN_FlyweightFactory.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a4d4199aa5961c143612bb87bb09fae18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d4199aa5961c143612bb87bb09fae18">&#9670;&nbsp;</a></span>~FlyweightFactory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FlyweightFactory::~FlyweightFactory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destruction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html#l00041">41</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html">DESIGNPATTERN_FlyweightFactory.cpp</a>.</p>

</div>
</div>
<a id="a5cc51b52352f49c328c54a2937f53ae8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5cc51b52352f49c328c54a2937f53ae8">&#9670;&nbsp;</a></span>FlyweightFactory() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">FlyweightFactory::FlyweightFactory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Construction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html#l00030">30</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html">DESIGNPATTERN_FlyweightFactory.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_flyweight_factory_a5cc51b52352f49c328c54a2937f53ae8_icgraph.png" border="0" usemap="#class_flyweight_factory_a5cc51b52352f49c328c54a2937f53ae8_icgraph" alt=""/></div>
<map name="class_flyweight_factory_a5cc51b52352f49c328c54a2937f53ae8_icgraph" id="class_flyweight_factory_a5cc51b52352f49c328c54a2937f53ae8_icgraph">
<area shape="rect" title=" " alt="" coords="341,5,525,47"/>
<area shape="rect" href="class_flyweight_factory.html#a9a35d35682a006de74b7027c7818f135" title=" " alt="" coords="115,13,293,39"/>
<area shape="rect" href="_design_pattern_8cpp.html#a353674c5af92be7fb389265cde4e5e03" title=" " alt="" coords="5,13,67,39"/>
</map>
</div>

</div>
</div>
<a id="a9cf53e0344fc282583e04301386be9f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cf53e0344fc282583e04301386be9f2">&#9670;&nbsp;</a></span>FlyweightFactory() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">FlyweightFactory::FlyweightFactory </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_flyweight_factory.html">FlyweightFactory</a> &amp;&#160;</td>
          <td class="paramname"><em>cFlyweightFactory</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Copy Construction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_flyweight_factory.html">FlyweightFactory</a>&amp; cFlyweightFactory </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aabb79a8ca9347a7fe1ba686c719bf5f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabb79a8ca9347a7fe1ba686c719bf5f0">&#9670;&nbsp;</a></span>CreateFlyweight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_flyweight.html">Flyweight</a> * FlyweightFactory::CreateFlyweight </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create <a class="el" href="class_flyweight.html">Flyweight</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>string&amp; key </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Flyweight* </dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html#l00095">95</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html">DESIGNPATTERN_FlyweightFactory.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_flyweight_factory_aabb79a8ca9347a7fe1ba686c719bf5f0_icgraph.png" border="0" usemap="#class_flyweight_factory_aabb79a8ca9347a7fe1ba686c719bf5f0_icgraph" alt=""/></div>
<map name="class_flyweight_factory_aabb79a8ca9347a7fe1ba686c719bf5f0_icgraph" id="class_flyweight_factory_aabb79a8ca9347a7fe1ba686c719bf5f0_icgraph">
<area shape="rect" title=" " alt="" coords="115,5,281,47"/>
<area shape="rect" href="_design_pattern_8cpp.html#a353674c5af92be7fb389265cde4e5e03" title=" " alt="" coords="5,13,67,39"/>
</map>
</div>

</div>
</div>
<a id="a5e00f4d234d0089d2bb5f043c79be7d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e00f4d234d0089d2bb5f043c79be7d2">&#9670;&nbsp;</a></span>Destroy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> FlyweightFactory::Destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Destroy</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>VOID </dd></dl>
<dl class="section note"><dt>Note</dt><dd>singleton </dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html#l00079">79</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html">DESIGNPATTERN_FlyweightFactory.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_flyweight_factory_a5e00f4d234d0089d2bb5f043c79be7d2_icgraph.png" border="0" usemap="#class_flyweight_factory_a5e00f4d234d0089d2bb5f043c79be7d2_icgraph" alt=""/></div>
<map name="class_flyweight_factory_a5e00f4d234d0089d2bb5f043c79be7d2_icgraph" id="class_flyweight_factory_a5e00f4d234d0089d2bb5f043c79be7d2_icgraph">
<area shape="rect" title=" " alt="" coords="115,5,289,32"/>
<area shape="rect" href="_design_pattern_8cpp.html#a353674c5af92be7fb389265cde4e5e03" title=" " alt="" coords="5,5,67,32"/>
</map>
</div>

</div>
</div>
<a id="a9a35d35682a006de74b7027c7818f135"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a35d35682a006de74b7027c7818f135">&#9670;&nbsp;</a></span>Instance()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_flyweight_factory.html">FlyweightFactory</a> * FlyweightFactory::Instance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Instance</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>FlyweightFactory* </dd></dl>
<dl class="section note"><dt>Note</dt><dd>singleton</dd></dl>
<p>Instance</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>FlyweightFactory* </dd></dl>
<dl class="section note"><dt>Note</dt><dd><a class="el" href="class_flyweight_factory.html">FlyweightFactory</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html#l00061">61</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html">DESIGNPATTERN_FlyweightFactory.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_flyweight_factory_a9a35d35682a006de74b7027c7818f135_cgraph.png" border="0" usemap="#class_flyweight_factory_a9a35d35682a006de74b7027c7818f135_cgraph" alt=""/></div>
<map name="class_flyweight_factory_a9a35d35682a006de74b7027c7818f135_cgraph" id="class_flyweight_factory_a9a35d35682a006de74b7027c7818f135_cgraph">
<area shape="rect" title=" " alt="" coords="5,13,184,39"/>
<area shape="rect" href="class_flyweight_factory.html#a5cc51b52352f49c328c54a2937f53ae8" title=" " alt="" coords="232,5,416,47"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_flyweight_factory_a9a35d35682a006de74b7027c7818f135_icgraph.png" border="0" usemap="#class_flyweight_factory_a9a35d35682a006de74b7027c7818f135_icgraph" alt=""/></div>
<map name="class_flyweight_factory_a9a35d35682a006de74b7027c7818f135_icgraph" id="class_flyweight_factory_a9a35d35682a006de74b7027c7818f135_icgraph">
<area shape="rect" title=" " alt="" coords="115,5,293,32"/>
<area shape="rect" href="_design_pattern_8cpp.html#a353674c5af92be7fb389265cde4e5e03" title=" " alt="" coords="5,5,67,32"/>
</map>
</div>

</div>
</div>
<a id="a0bbaf710ee36dd20f266e2d80d17b07d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bbaf710ee36dd20f266e2d80d17b07d">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_flyweight_factory.html">FlyweightFactory</a>&amp; FlyweightFactory::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_flyweight_factory.html">FlyweightFactory</a> &amp;&#160;</td>
          <td class="paramname"><em>cFlyweightFactory</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Assignment</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_flyweight_factory.html">FlyweightFactory</a>&amp; cFlyweightFactory </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_flyweight_factory.html">FlyweightFactory</a>&amp; </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ac9afef5cefd0757cf3bf2919288cff4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9afef5cefd0757cf3bf2919288cff4f">&#9670;&nbsp;</a></span>m_listFlyweight</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">list&lt;<a class="el" href="class_flyweight.html">Flyweight</a>*&gt; FlyweightFactory::m_listFlyweight</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h_source.html#l00082">82</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h_source.html">DESIGNPATTERN_FlyweightFactory.h</a>.</p>

</div>
</div>
<a id="a49d2997e5543ebca8647108fbe3efcb9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49d2997e5543ebca8647108fbe3efcb9">&#9670;&nbsp;</a></span>m_pInstance</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_flyweight_factory.html">FlyweightFactory</a> * FlyweightFactory::m_pInstance = NULL</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h_source.html#l00081">81</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h_source.html">DESIGNPATTERN_FlyweightFactory.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/96_project/DesignPattern/11_Flyweight/groupinc/<a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h_source.html">DESIGNPATTERN_FlyweightFactory.h</a></li>
<li>C:/96_project/DesignPattern/11_Flyweight/<a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html">DESIGNPATTERN_FlyweightFactory.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
